How far the picture tilts up or down along its width. 0 is level; a positive number lifts the right edge (and drops the left), like a flag pulled up at one end. It is how many pixels the right side rises for every pixel of width.
Works differently on Game Boy - A turned, resized or leaned sprite shows the nearest look the build draws ahead of time: turns in steps (Project Settings: Sprite turn steps), a few sizes and leans, and a negative size mirrors exactly. The looks share the 384 tiles of video memory, so there is room for few.
Works differently on Game Boy Color - On the Game Boy Color a turned, resized or leaned sprite shows the nearest of the looks the build drew ahead of time: turns in steps (Project Settings: Sprite turn steps), a few sizes and leans. A negative size mirrors it exactly.
Sega Genesis: not available
On other consoles this differs: see Side by side and How the consoles differ.
yshear: realHow far the picture tilts up or down along its width. 0 is level. A positive number lifts the right edge of the picture and lowers the left edge. A negative number does the opposite. It is xshear turned a quarter turn: where xshear slides the top sideways, yshear slides the right side up.


A plank is wide, so a tilt has room to show. Left: level. Middle: yshear = 0.25;. Right: the tilt together with an xshear lean (drawn with draw_sprite_sheared, which takes both numbers). Real pictures from a Game Boy Advance ROM.


The middle plank's yshear going 0.40, 0.37 ... 0 ... -0.40 and back (the number under the middle plank is the one in use). The level plank and the plank on the right (a fixed lean, drawn with draw_sprite_sheared) do not change, so you can see how far the middle one moves. Sixteen real pictures, two frames apart, played at half the speed of the console. A viewer that does not animate shows the first frame.
The number is how many pixels the right side rises for every pixel of width, so it means the same thing at any size. On a sprite 32 pixels wide, 0.5 lifts the right edge 8 pixels above the middle and drops the left edge 8 pixels below it.
It is not the same as turning the picture. angle keeps every corner square; this tilts the top and bottom edges while the left and right sides stay straight up and down.
The picture tilts about the sprite's origin, so a sprite whose origin is on the ground tilts without sliding along it. If you flip the sprite with flip_y or a negative yscale, the tilt stays on the same side of the screen.
yshear = 0.25;The right side of the picture sits higher than the left. A sign hanging from one corner, or a flag pulled up on one side.
yshear = 0;Back to level. Setting both xshear and yshear leans the picture both ways at once.
Everything on the xshear page is true here too: it takes one of the 32 hardware matrices while it is not zero, xshear and yshear together are 16 bytes for each object in a family that mentions either one (and nothing for any other object), a leaned sprite that stands still is skipped like any other sprite, and the picture can be drawn at most twice the size of its sprite, so a tilt past 1 on a square sprite starts to cut off its corners. The tilt is exact while angle is 0.